package com.atmilan.quartz.model.entity.jky;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.atmilan.quartz.model.entity.im.ImProduct;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 吉客云商品sku映射
 * @Description: 
 * @author daigb
 * @date 2021-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class JkyProductSku extends Model<ImProduct> {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    /**
     * quantityId
     */
    @JsonProperty(value = "quantityId")
    private String quantityId;

    /**
     * warehouseId
     */
    @JsonProperty(value = "warehouseId")
    private String warehouseId;

    /**
     * warehouseName
     */
    @JsonProperty(value = "warehouseName")
    private String warehouseName;

    /**
     * warehouseCode
     */
    @JsonProperty(value = "warehouseCode")
    private String warehouseCode;

    /**
     * goodsId
     */
    @JsonProperty(value = "goodsId")
    private String goodsId;

    /**
     * goodsNo
     */
    @JsonProperty(value = "goodsNo")
    private String goodsNo;

    /**
     * goodsName
     */
    @JsonProperty(value = "goodsName")
    private String goodsName;

    /**
     * skuId
     */
    @JsonProperty(value = "skuId")
    private String skuId;

    /**
     * skuName
     */
    @JsonProperty(value = "skuName")
    private String skuName;

    /**
     * skuBarcode
     */
    @JsonProperty(value = "skuBarcode")
    private String skuBarcode;

    /**
     * unitName
     */
    @JsonProperty(value = "unitName")
    private String unitName;

    /**
     * batchNo
     */
    @JsonProperty(value = "batchNo")
    private String batchNo;

    /**
     * currentQuantity
     */
    @JsonProperty(value = "currentQuantity")
    private String currentQuantity;

    /**
     * defectiveQuanity
     */
    @JsonProperty(value = "defectiveQuanity")
    private String defectiveQuanity;

    /**
     * lockedQuantity
     */
    @JsonProperty(value = "lockedQuantity")
    private String lockedQuantity;

    /**
     * outSkuCode
     */
    @JsonProperty(value = "outSkuCode")
    private String outSkuCode;

    /**
     * batchNumber
     */
    @JsonProperty(value = "batchNumber")
    private String batchNumber;

    /**
     * productionDepart
     */
    @JsonProperty(value = "productionDepart")
    private String productionDepart;

    /**
     * registrationNumber
     */
    @JsonProperty(value = "registrationNumber")
    private String registrationNumber;

    /**
     * productionDate
     */
    @JsonProperty(value = "productionDate")
    private String productionDate;

    /**
     * memo
     */
    @JsonProperty(value = "memo")
    private String memo;
    /**
     * 零售价
     */
    private BigDecimal price;
    /**
     * 批发价
     */
    private BigDecimal otPrice;
    /**
     * 会员价
     */
    private BigDecimal vipPrice;
    /**
     * 最低售价
     */
    private BigDecimal minPrice;
    /**
     * 货品原价
     */
    private BigDecimal originalPrice;
    
    private Date createTime;
    
    /**
     * imgUrl
     */
    private String imgUrl;

}
